package fun.werfamily.wf.goods.core.infrastructure.mapper;


import fun.werfamily.wf.goods.core.infrastructure.dataobject.GoodsCategoryDO;

import java.util.List;

public interface GoodsCategoryMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(GoodsCategoryDO record);

    GoodsCategoryDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GoodsCategoryDO record);

    /**
     * 查询商品分类
     * @return
     */
    List<GoodsCategoryDO> listAllCategory();
}